package com.ykq.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 左侧菜单地址
 * @TableName e_permission
 */
@Data
public class Permission implements Serializable {
    /**
     * 
     */
    private Long id;

    /**
     * 父级id
     */
    private Long pid;

    /**
     * 权限名字
     */
    private String pname;

    /**
     * 链接
     */
    private String url;

    /**
     * 图标
     */
    private String icon;

    //表示子菜单
    private List<Permission> children=new ArrayList<Permission>();

    private static final long serialVersionUID = 1L;
}